package com.gzsxy.esjy.service.base.dto.request;


import com.baomidou.mybatisplus.annotation.TableName;
import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_oper_log")
@ApiModel(value="t_oper_log对象", description="操作日志")
public class OperlogRequest extends BaseEntity {

  @ApiModelProperty(value = "功能模块")
  private String operModel;

  @ApiModelProperty(value = "操作类型")
  private String operType;

  @ApiModelProperty(value = "操作描述")
  private String operDesc;

  @ApiModelProperty(value = "请求参数")
  private String requestParam;

  @ApiModelProperty(value = "花费时间")
  private Long  costTime;

  @ApiModelProperty(value = "返回参数")
  private String responseParam;

  @ApiModelProperty(value = "操作员id")
  private String operUserId;

  @ApiModelProperty(value = "操作员名称")
  private String operUserName;

  @ApiModelProperty(value = "操作方法")
  private String method;

  @ApiModelProperty(value = "请求URI")
  private String uri;

  @ApiModelProperty(value = "请求id")
  private String ip;

  @ApiModelProperty(value = "异常名称")
  private String errorName;

  @ApiModelProperty(value = "异常信息")
  private String errorMessage;

  @ApiModelProperty(value = "状态：1正常；2异常")
  private Integer status;


}
